package com.originit.product.server.mq;


import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.stereotype.Component;

@Component
public interface StreamInterface {

    String KEY = "product";

    @Input(KEY)
    SubscribableChannel input();

    @Output(KEY)
    MessageChannel output();
}
